package org.home.tax;


import org.home.tax.dao.DoanhNghiepRepository;
import org.home.tax.dao.HoSoRepository;
import org.home.tax.model.DoanhNghiep;
import org.home.tax.model.HoSo;

/**
 * Hello world!
 *
 */
public class App {

    public static void main(String[] args) {
        DoanhNghiepRepository dnRepository = new DoanhNghiepRepository();
        DoanhNghiep dn = dnRepository.findById("MST12345");
        HoSoRepository hsRepository = new HoSoRepository();
        HoSo hs = new HoSo(1, "Ti", "adfasf", "2012");
        hs.setMaSoThue(dn);
        hsRepository.saveOrUpdate(hs);
              
    }
}
